package com.graduate.emos.wx.common.util;

import lombok.Data;
import org.springframework.stereotype.Component;

/**
 * 常量封装类
 * @author feathermoon
 */
@Data
@Component
public class SystemConstants {

    //上班考勤开始时间
    public String attendanceStartTime;
    //上班时间
    public String attendanceTime;
    //上班考勤截止时间
    public String attendanceEndTime;
    //下班考勤开始时间
    public String closingStartTime;
    //下班时间
    public String closingTime;
    //下班考勤截止时间
    public String closingEndTime;

    /*文本常量代码*/
    public final String CODE_WORKDAY = "工作日";
    public final String CODE_HOLIDAY = "节假日";
    public final String CODE_CAN_CHECKIN = "可以签到";
    public final String CODE_CAN_NOT_CHECKIN_01 = "没到上班时间";
    public final String CODE_CAN_NOT_CHECKIN_02 = "超过上班时间";
    public final String CODE_CAN_NOT_CHECKIN_03 = "节假日不用签到";
    public final String CODE_CAN_NOT_CHECKIN_04 = "已经签到过了";
    public final String CODE_ABSENCE = "缺勤";
    public final String CODE_LATE = "迟到";
    public final String CODE_NORMAL = "正常";

    /*提示信息*/
    public final String USER_ACCOUNT_LOCK_MSG = "该账户已被锁定，请联系管理员！";
    public final String FACE_MODEL_IS_NOT_EXIST_MSG = "该员工的人脸模型不存在！";
    public final String FACE_RECOGNITION_SERVER_EXCEPTION_MSG = "人脸识别服务异常！";
    public final String FACE_RECOGNITION_FAILED_MSG = "无法识别出人脸";
    public final String THERE_ARE_MULTIPLE_FACES_MSG = "照片中存在多张人脸";
    public final String FACE_RECOGNITION_RESULT_NOT_SELF_MSG = "签到无效，非本人签到！";
    public final String ACCESS_OUTBREAK_GRADE_FAILED = "获取疫情等级失败！";
    public final String HIGH_RISK_OF_OUTBREAK_WARNING_SUBJECT = "身处疫情高风险地区警告！";
    public final String HIGH_RISK_OF_OUTBREAK_WARNING_TEXT = "属于新冠疫情高风险地区，请及时与该员工联系核实情况，同时做好紧急措施！";
    public final String NO_FILE_UPLOAD = "没有上传文件!";
    public final String IMAGE_FORMAT_ERROR = "请提交jpg格式的照片！";
    public final String IMAGE_SAVE_ERROR = "图片保存出错！";
    public final String CHECKIN_SUCCESS = "签到成功！";
    public final String FACE_MODEL_CREATE_SUCCESS = "新的人脸模型创建成功！";
    public final String EXECUTE_ERROR = "执行错误";
    public final String MONTH_CHECKIN_SEARCH_ERROR = "只能查询入职之后日期的数据";
    public final String MEETING_CREATE_FAILED = "会议添加失败！";

    /*业务标识*/
    public final String FACE_RECOGNITION_RESULT_FALSE = "False";
    public final String FACE_RECOGNITION_RESULT_TRUE = "True";
    public final String HIGH_RISK_OF_OUTBREAK = "高风险";
    public final String MID_RISK_OF_OUTBREAK = "中风险";
    public final String LOW_RISK_OF_OUTBREAK = "低风险";

}
